package com.epam.task.web.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * User: zhunusbekova.arailym
 */
public class Order {
    private long id;
    private Date dateAdded;
    private Status status;
    private User customer;
    private User manager;
    private String comment;
    private OrderProduct orderProduct;

    public Order(long id, Date dateAdded, Status status, User customer, User manager, String comment, OrderProduct orderProduct) {
        this.id = id;
        this.dateAdded = dateAdded;
        this.status = status;
        this.customer = customer;
        this.manager = manager;
        this.comment = comment;
        this.orderProduct = orderProduct;
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getDateAdded() {
        return dateAdded;
    }

    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public User getCustomer() {
        return customer;
    }

    public void setCustomer(User customer) {
        this.customer = customer;
    }

    public User getManager() {
        return manager;
    }

    public void setManager(User manager) {
        this.manager = manager;
    }

    public OrderProduct getOrderProduct() {
        return orderProduct;
    }

    public void setOrderProduct(OrderProduct orderProduct) {
        this.orderProduct = orderProduct;
    }
}
